package org.shj.dhsjjg.tree;


//代表树中一个结点的类
public class BiNode<T> {

	private T data;
	
	private BiNode<T> leftChild;
	
	private BiNode<T> rightChild;

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public BiNode<T> getLeftChild() {
		return leftChild;
	}

	public void setLeftChild(BiNode<T> leftChild) {
		this.leftChild = leftChild;
	}

	public BiNode<T> getRightChild() {
		return rightChild;
	}

	public void setRightChild(BiNode<T> rightChild) {
		this.rightChild = rightChild;
	}
	
	
}
